package org.study.springboot.simple.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.cm.study.spring.boot.autoconfigure.StudyStaterService;
@RestController
public class SimpleController {
	@Autowired
	private StudyStaterService studyStaterService;
	
	@RequestMapping("simple")
	public String simple() {
		studyStaterService.sys();
		return "hi!";
	}
}
